/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package irsystem.collection;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author Cerulean
 */
public class CISIDocs implements Serializable
{
    public static class CISI_X implements Serializable
    {
        List< List<Integer> > x;
        
        public CISI_X()
        {
            x=new ArrayList< List<Integer> >();
        }
        
        public void addRow(int n1, int n2, int n3)
        {
            List<Integer> row=new ArrayList<Integer>();
            row.add(n1);
            row.add(n2);
            row.add(n3);
            x.add(row);
        }
        
        public List<Integer> getRow(int index)
        {
            return x.get(index);
        }
        
        public List<List<Integer>> getX()
        {
            return x;
        }
    }
    
    int index;
    String title;
    String author;
    String words;
    String publish;
    CISI_X x;

    public CISIDocs()
    {
    }
    
    public CISIDocs(int index, String title, String author, String words, String publish, CISI_X x)
    {
        this.index = index;
        this.title = title;
        this.author = author;
        this.words = words;
        this.publish=publish;
        this.x = x;
    }

    public String getAuthor()
    {
        return author;
    }

    public int getIndex()
    {
        return index;
    }

    public String getPublish()
    {
        return publish;
    }
    
    

    public String getTitle()
    {
        return title;
    }

    public String getWords()
    {
        return words;
    }

    public void setAuthor(String author)
    {
        this.author = author;
    }

    public void setIndex(int index)
    {
        this.index = index;
    }

    public void setPublish(String publish)
    {
        this.publish = publish;
    }

    public void setTitle(String title)
    {
        this.title = title;
    }

    public void setWords(String words)
    {
        this.words = words;
    }

    public void setX(CISI_X x)
    {
        this.x = x;
    }
}